SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 59161: PROC HPSPLIT score-code results might be incorrect when CLASS variable values are not all uppercase

DetailsAboutRate It

In the SAS® High-Performance Statistics HPSPLIT procedure, the CODE FILE=filename statement converts the final tree into SAS DATA step code that can be used for scoring. However, the generated code might not be correct. If you score new data using the score code, then the scored values might also be incorrect. Incorrect code is generated when the following conditions are true:

  • Your HPSPLIT procedure code includes a CLASS statement.
  • You do not specify the UPCASE option in the CLASS statement.
  • Your CLASS variable values are not all uppercase (some values are lower or mixed-case).

There are no errors or warnings to indicate a problem.

To avoid the problem, specify the UPCASE option after a slash ('/') in the CLASS statement.

Example:

proc hpsplit data=sashelp.cars; class enginesize model / upcase; model enginesize = mpg_highway model; run;

Note: the problem occurs only when you use the CLASS and MODEL statements. The problem does not occur when you use TARGET and INPUT statements.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS High-Performance Statisticsz/OS14.114.29.4 TS1M39.4 TS1M4
z/OS 64-bit14.114.29.4 TS1M39.4 TS1M4
Microsoft® Windows® for x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro 32-bit14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows 1014.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 200814.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2008 R214.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2008 for x6414.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Datacenter14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Std14.114.29.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Std14.114.29.4 TS1M39.4 TS1M4
Windows 7 Enterprise 32 bit14.114.29.4 TS1M39.4 TS1M4
Windows 7 Enterprise x6414.114.29.4 TS1M39.4 TS1M4
Windows 7 Home Premium 32 bit14.114.29.4 TS1M39.4 TS1M4
Windows 7 Home Premium x6414.114.29.4 TS1M39.4 TS1M4
Windows 7 Professional 32 bit14.114.29.4 TS1M39.4 TS1M4
Windows 7 Professional x6414.114.29.4 TS1M39.4 TS1M4
Windows 7 Ultimate 32 bit14.114.29.4 TS1M39.4 TS1M4
Windows 7 Ultimate x6414.114.29.4 TS1M39.4 TS1M4
64-bit Enabled AIX14.114.29.4 TS1M39.4 TS1M4
64-bit Enabled Solaris14.114.29.4 TS1M39.4 TS1M4
HP-UX IPF14.114.29.4 TS1M39.4 TS1M4
Linux for x6414.114.29.4 TS1M39.4 TS1M4
Solaris for x6414.114.29.4 TS1M39.4 TS1M4
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.